import request from '@/utils/request'


export function listCareUnit(data) {
  return request({
    url: '/ele/v1/careUnit/list',
    method: 'get',
    params: data
  })
}

export function modifyCareUnit(data) {

  return request({
    url: '/ele/v1/careUnit/modify',
    method: 'post',
    data
  })
}

export function addCareUnit(data) {
  return request({
    url: '/ele/v1/careUnit/add',
    method: 'post',
    data
  })
}
